package model;


import org.workplicity.entry.Entry;


public class User extends Entry {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	

	protected String userName = "default", userPassword = null;
	protected int userID = 0;
	protected boolean isAdmin = false;
	
	public User()
	{
	}

	public boolean getIsAdmin() {
		return this.isAdmin;
	}

	public String getUserName() {
		return this.userName;
	}

	public String getPassword() {
		return this.userPassword;
	}

	public int getUserID() {
		return this.userID;
	}

	public void setIsAdmin(String password) {
		this.userPassword = password;
	}

	public void setUserName(String name){
		this.userName = name;
	}

	public void setUserID(int ID) {
		this.userID = ID;
	}
	
	public String getUserPassword()
	{
		return userPassword;
	}

	public void setUserPassword(String userPassword)
	{
		this.userPassword = userPassword;
	}

	public static long getSerialversionuid()
	{
		return serialVersionUID;
	}

	public void setAdmin(boolean isAdmin)
	{
		this.isAdmin = isAdmin;
	}
	
	
}
